cmake_minimum_required(VERSION 2.8.3)
project(handsfree_octopus_robot)

find_package(catkin REQUIRED COMPONENTS
  actionlib
  actionlib_msgs
  geometry_msgs
  message_generation
  nav_msgs
  nav_msgs
  roscpp
  serial
  roslib
  rospy
  sensor_msgs
  std_msgs
  tf
)

add_compile_options(-g -std=c++11) 

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES handsfree_octopus_robot
  #CATKIN_DEPENDS geometry_msgs message_generation nav_msgs nav_msgs roscpp roslib rospy sensor_msgs std_msgs tf
  DEPENDS system_lib
)

include_directories(include ${catkin_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS})
include_directories(
    include
    include/${PROJECT_NAME}
)

add_executable(octopus_robot_node src/octopus_robot.cpp src/Quaternion_Solution.cpp)
target_link_libraries(octopus_robot_node ${catkin_LIBRARIES})
